﻿@{
    ViewBag.Title = "Home Page";
    var ala = this.User.Identity.Name;
}

@*<h2>@ViewBag.Message</h2>*@



<div id="mainContent" align="center">
    
			<div id="leftColumn" class="column">@Html.Partial("BoxUltimosVisitados")</div>
			<div id="middle">
            @if (this.User.Identity.IsAuthenticated)
            {
                @Html.Partial("Muro")
            }
            else
            {
                <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/fancyInputs.css")" />

                using (Html.BeginForm("LogOn", "Account", FormMethod.Post))
                {
                    <div class="boxLogin">
                        <p><input type="text" name="UserName" class="fancy" placeholder="Nombre Usuario" /></p>
                        <p><input type="password" name="Password" class="fancy" placeholder="Password" /></p>
                        <p><input type="checkbox" name="RememberMe" /></p>
                        <p><input type="submit" value="Sign In" /></p>
                    </div>                    
                }
            }   
            </div>
			<div id="rightColumn" class="column"></div>
   
</div> 